import request from '@/utils/request'

// 查询文章转载记录列表
export function listReproduce(query) {
  return request({
    url: '/content/reproduce/list',
    method: 'get',
    params: query
  })
}

// 查询文章转载记录详细
export function getReproduce(id) {
  return request({
    url: '/content/reproduce/' + id,
    method: 'get'
  })
}

// 新增文章转载记录
export function addReproduce(data) {
  return request({
    url: '/content/reproduce',
    method: 'post',
    data: data
  })
}

// 修改文章转载记录
export function updateReproduce(data) {
  return request({
    url: '/content/reproduce',
    method: 'put',
    data: data
  })
}

// 删除文章转载记录
export function delReproduce(id) {
  return request({
    url: '/content/reproduce/' + id,
    method: 'delete'
  })
}
